package net.flyinggroup.springtips;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class DataInfo {
    public record Inventor(String name, Date birthday, String nationality, String[] inventionsArray) {
    }

    public static Inventor TESLA = new Inventor("Nikola Tesla",
            new GregorianCalendar(1856, Calendar.AUGUST, 9).getTime(),
            "Serbian",
            new String[]{"Tesla coil", "Alternating current"});
}
